package com.gitee.base.modules.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("sys_perm_ext")
public class SysPermExt {

    @TableId(value = "id",type = IdType.NONE)
    private String id;
    /**
     * 父ID
     */
    @TableField("pid")
    private String pid;
    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;
    /**
     * 别名
     */
    @TableField("alias")
    private String alias;
    /**
     * 菜单路径
     */
    @TableField("path")
    private String path;
}
